﻿using StudentMocking.Model;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;

namespace StudentMocking.Repositories
{
    public interface IStudentsRepository
    {
        Task<Student> AddStudent(Student item);
        Task<Student> UpdateStudent(Student item);
        Task<bool> DeleteStudent(int id);
        Task<IEnumerable<Student>> GetStudentsAnsyc();
        Task<Student> GetAllAnsyc(int id);
    }
}
